package com.atguigu.guli.service.oss.util;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: Mr.Wang
 * @date: 2021-05-16 19:42
 * @description:
 */

@Component
@Data
//这个是.yml文件中前缀为prefix = "aliyun.oss"下面的文件
@ConfigurationProperties(prefix = "aliyun.oss")
public class OssProperties {
    private String endpoint;
    private String keyid;
    private String keysecret;
    private String bucketname;
}
